#pragma once

class IBullet;

class WBullets: public IWorldMod, public ISingleton<WBullets>
{
public:
	WBullets();
	virtual ~WBullets();

	/*-IWorldMod----------------------------------------------------------------*/
	void OnLevelLoad(const std::string& level);
	void OnLevelUnload();
	void OnLevelCalc();

	/*--------------------------------------------------------------------------*/

	std::list<IBullet*> GetBullets();
	void AddBullet(const glm::vec3& pos, const glm::vec3& dir, float radius, const Color& color);

private:
	std::list<IBullet*> m_bullets;
};

